package org.deltaset.meta;

import java.util.Collection;
import java.util.List;

/**
 *
 * @author dmakariev
 */
public interface CollectionHandler {

    void moveUp(final List list, final int currentIndex);

    void moveDown(final List list, final int currentIndex); 
    
    void moveTo(final List list, final int sourceIndex, final int targetIndex);

    void removeElement(Collection collection, Object element);

    List convertToList(Collection collection);
}
